package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.omg.CORBA.PRIVATE_MEMBER;

import java.io.Serializable;

/**
 * 用户考试的答题实体类
 * @author 最爱喝兽奶
 * @create 2022/8/24
 **/
@TableName(value = "T_USER_EXAM_QUESTION")
@Data
public class UserExamQuestion implements Serializable {

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 考试id
     */
    @TableField(value = "exam_id")
    private String examId;

    /**
     * 考试编号
     */
    @TableField(value = "exam_num")
    private Integer examNum;

    /**
     * 问题id
     */
    @TableField(value = "question_id")
    private String questionId;

    /**
     * 学生回答的答案，多选题会用分号隔开
     */
    @TableField(value = "answer")
    private String answer;

    /**
     * 当前的题型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 答题的用户
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 本题的得分
     */
    @TableField(value = "score")
    private Integer score;

}
